#!/bin/csh -f
set nt=`awk 'FNR==1{print $3}' $1`
echo -n "esta: energies for registering : " > /dev/stderr
#echo -n "" > esta.rep
# @ i = 1
# while( $i <= $nt )
#    cat $1 | poptil $i > x
#    echo -n $i" " >> esta.rep
#    epc -s 0 x | awk '$1~/E_ini/{split($1,a,"=");print a[2]}'>> esta.rep
#    echo -n "." > /dev/stderr
#    @ i++
#end
cat $1 | ept_ > esta.rep
echo " done"
##
